'use strict';

const { execSync } = require('child_process');

execSync('rm -rf egg-admin-zip');
execSync('mkdir egg-admin-zip');
execSync('cp -r app/ egg-admin-zip/app');
execSync('cp -r config/ egg-admin-zip/config');
execSync('cp -r package.json egg-admin-zip');
execSync('cp -r .eslintrc egg-admin-zip');
execSync('zip egg-admin-zip.zip egg-admin-zip');
